package com.elitedatai.mchtest.manage.model.entity;
import com.elitedatai.mchtest.common.model.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import jakarta.persistence.*;
import java.io.Serializable;


@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "manage_device_payload")
public class DevicePayloadEntity extends BaseEntity implements Serializable {

    @Column(name = "payload_sn")
    private String payloadSn;

    @Column(name = "payload_name")
    private String payloadName;

    @Column(name = "payload_type")
    private Integer payloadType;

    @Column(name = "sub_type")
    private Integer subType;

    @Column(name = "firmware_version")
    private String firmwareVersion;

    @Column(name = "payload_index")
    private Integer payloadIndex;

    @Column(name = "device_sn")
    private String deviceSn;

    @Column(name = "payload_desc")
    private String payloadDesc;

    @Column(name = "control_source")
    private String controlSource;

}